package com.aididi;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
@Controller
public class WebsocketLearningApplication {

	public static void main(String[] args) {
		SpringApplication.run(WebsocketLearningApplication.class, args);
	}

	@GetMapping("/index")
	public String index(){
		return "index";
	}

	@GetMapping("/socketdemo")
	public String socketDemo(){
		return "socketDemo";
	}

}
